package com.woniu.car.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.car.dto.CouponUseDto;
import com.woniu.car.entity.TCouponReceive;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuyanzu
 * @since 2021-06-22
 */
public interface TCouponReceiveService extends IService<TCouponReceive> {
    List<TCouponReceive> searchUserCoupon(Integer userId) throws Exception;
    boolean deleteUserCoupon(Integer couponReceiveId) throws Exception;
    CouponUseDto couponUseCoupon(Integer couponReceiveId) throws Exception;
}
